This page documents the version of Sgm that accompanies
Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
SSSSggggVVVViiiissssuuuuaaaallllDDDDrrrraaaawwwwiiiinnnnggggAAAArrrreeeeaaaa is a subclass of the Motif Drawing Area
that allows has a visual resource, allowing the widget to be
placed into a visual different than the rest of the
application. It is useful for applications that need to use
multiple visuals, for example, running one window in 24 bit
RGB while the rest of the application is in 8 bit pseudo
color.
SSSSggggVVVViiiissssuuuuaaaallllDDDDrrrraaaawwwwiiiinnnnggggAAAArrrreeeeaaaa also has the ability to create a
TrueColor dithered background to more closely match a
requested background, and to set the WM_COLORMAP_WINDOWS
property to have the window manager install its background.
Since the SSSSggggVVVViiiissssuuuuaaaallllDDDDrrrraaaawwwwiiiinnnnggggAAAArrrreeeeaaaa is a subclass of XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr, it
can have children. These children will automatically
inherit the visual, colormap, and depth of the
SSSSggggVVVViiiissssuuuuaaaallllDDDDrrrraaaawwwwiiiinnnnggggAAAArrrreeeeaaaa. Thus, the SSSSggggVVVViiiissssuuuuaaaallllDDDDrrrraaaawwwwiiiinnnnggggAAAArrrreeeeaaaa can be
used to chage the visual of a hierarchy of widgets.
CCCCllllaaaasssssssseeeessss
SgVisualDrawingArea inherits behavior and resources from
CCCCoooorrrreeee, XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr, and XXXXmmmmDDDDrrrraaaawwwwiiiinnnnggggAAAArrrreeeeaaaa classes.
The class pointer is ssssggggVVVViiiissssuuuuaaaallllDDDDrrrraaaawwwwiiiinnnnggggAAAArrrreeeeaaaaWWWWiiiiddddggggeeeettttCCCCllllaaaassssssss.
The class name is SSSSggggVVVViiiissssuuuuaaaallllDDDDrrrraaaawwwwiiiinnnnggggAAAArrrreeeeaaaa.
NNNNeeeewwww RRRReeeessssoooouuuurrrrcccceeeessss
The following table defines a set of widget resources used
by the programmer to specify data. The programmer can also
set the resource values for the inherited classes to set
attributes for this widget. To reference a resource by name
or by class in a .Xdefaults file, remove the XXXXmmmmNNNN, SSSSggggNNNN, XXXXmmmmCCCC,
or SSSSggggCCCC prefix and use the remaining letters. To specify one
of the defined values for a resource in a .Xdefaults file,
remove the XXXXmmmm prefix and use the remaining letters (in
either lowercase or uppercase, but include any underscores
between words). The codes in the access column indicate if
the given resource can be set at creation time (C), set by
using XXXXttttSSSSeeeettttVVVVaaaalllluuuueeeessss (S), retrieved by using XXXXttttGGGGeeeettttVVVVaaaalllluuuueeeessss (G),
WWWWMMMM____CCCCOOOOLLLLOOOORRRRMMMMAAAAPPPP____WWWWIIIINNNNDDDDOOOOWWWWSSSS property on the shell
containing the widget, so that the window manager
installs the colormap when that application gets
focus. At least one window using each colormap
should be listed in this property (even if the
widgets are TrueColor), although if several
widgets share the same colormap it is only
necessary to set this resource for one of them.
If the application needs more direct control over
when the colormaps are installed, this resource
could be false. In such a case,
SSSSggggVVVViiiissssuuuuaaaallllDDDDrrrraaaawwwwiiiinnnnggggAAAArrrreeeeaaaaIIIInnnnssssttttaaaallllllllCCCCoooolllloooorrrrmmmmaaaapppp((((3333XXXX)))) and
SSSSggggVVVViiiissssuuuuaaaallllDDDDrrrraaaawwwwiiiinnnnggggAAAArrrreeeeaaaaUUUUnnnniiiinnnnssssttttaaaallllllllCCCCoooolllloooorrrrmmmmaaaapppp((((3333XXXX)))) may be
used instead.
XXXXmmmmNNNNvvvviiiissssuuuuaaaallll Specifies the visual in which to create the